package com.marveal.rabbit.api.exception;

public enum MessageRuntimeExceptionType {

    MESSAGE_TOPIC_IS_EMPTY("message topic is empty"),
    MESSAGE_ROUTING_KEY_IS_EMPTY("message routing key is empty"),
    MESSAGE_CORRELATION_DATA_IS_NULL("message correlationData is null"),
    MESSAGE_CORRELATION_DATA_ID_IS_NULL("message correlationData id is null"),
    MESSAGE_CORRELATION_DATA_ID_ERROR("message correlationData id error"),
    MESSAGE_TYPE_IS_NOT_EXIST("message type is not exist"),
    MESSAGE_IS_NULL("message is null"),
    ;

    public String description;

    MessageRuntimeExceptionType(String description) {
        this.description = description;
    }
}
